package com.rmb.service.impl;

import com.rmb.common.model.response.ResponseResult;
import com.rmb.entity.ResponeRest;
import com.rmb.entity.SourceEntity;
import com.rmb.entity.result.AddDataSourceResult;
import com.rmb.service.SourceService;

import java.sql.SQLException;
import java.util.List;
import java.util.Map;

/**
 * @Author ZhaoMuYang
 * @Date 2021/1/16 9:25
 */
public class SourseHystrixImpl implements SourceService {
    @Override
    public List<SourceEntity> list() {
        return null;
    }

    @Override
    public SourceEntity addSource(SourceEntity sourceEntity) throws Exception {
        return null;
    }

    @Override
    public ResponseResult testHeartbeat(Long id) {
        return null;
    }

    @Override
    public ResponeRest findSourceById(Long id, String flag) {
        return null;
    }

    @Override
    public void update(SourceEntity sourceEntity) {

    }

    @Override
    public List<SourceEntity> findList() {
        return null;
    }

    @Override
    public AddDataSourceResult findById(Long id) {
        return null;
    }

    @Override
    public ResponseResult updateDataSource(SourceEntity sourceEntity, Long id) {
        return null;
    }

    @Override
    public void delte(Long id) {

    }

    @Override
    public String findAlldes(Integer pageSize, Integer pageNum) {
        return null;
    }

    @Override
    public String findPageAll(Integer pageSize, Integer pageNum) {
        return null;
    }

    @Override
    public List<SourceEntity> findAll() {
        return null;
    }

    @Override
    public SourceEntity getsql(Long id) {
        return null;
    }

    @Override
    public List<Map<String, Object>> findAllDataSource() {
        return null;
    }

    @Override
    public List<String> findAllDataBase(Long dataSourceId) {
        return null;
    }

    @Override
    public List<String> findTablesByDataSource(Long id, String dataBaseName) throws SQLException {
        return null;
    }

    @Override
    public SourceEntity getDataSourceById(Long dataSourceId) {
        return null;
    }

    @Override
    public List<Map<String, Object>> executeSqlQuery(Long dataSourceId, String dataBaseName, String tableName, String sql) {
        return null;
    }
}
